<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <button onclick="getImage()">获取图片url</button>
  <button onclick="clearCanvas()">清空画布</button>
  <div id="div">
    
  </div>
  <div id="carouselJs">
    
  </div>
</body>
<script type="text/javascript" src="./all.js">
  
</script>

<style>
  #div{
    width: 350px;
    height: 200px;
    border:1px solid #000;
  }
</style>
</html>